<!Doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<table border="1" cellspacing="0" cellpadding="0">
    <tr>
        <td>id</td>
        <td>账号</td>
        <td>密码</td>
        <td>电话</td>
        <td>地址</td>
        <td>性别</td>
        <td>操作</td>
    </tr>
    @foreach($user as $v)
    <tr>
        <td>{{ $v->id }}</td>
        <td>{{ $v->username }}</td>
        <td>{{ $v->password }}</td>
        <td>{{ $v->tel }}</td>
        <td>{{ $v->address }}</td>
        <td>{{ $v->sex }}</td>
        <td>
            <a href="/blog/public/stu/edit/{{$v->id}}">修改</a> | <a href="/blog/public/stu/del/{{ $v->id }}">删除</a>
        </td>
    </tr>
    @endforeach
</table>
</body>
</html>
